package com.jxc.dao;

import java.util.List;

import com.jxc.entity.TbEmployeeRole;

public interface TbEmployeeRoleDAO {

	/* (non-Javadoc)
	 * @see com.jxc.dao.impl.roleEmployeeDAO#save(com.jxc.entity.TbEmployeeRole)
	 */
	public abstract void save(TbEmployeeRole transientInstance);

	/* (non-Javadoc)
	 * @see com.jxc.dao.impl.roleEmployeeDAO#delete(com.jxc.entity.TbEmployeeRole)
	 */
	public abstract void delete(TbEmployeeRole persistentInstance);

	/* (non-Javadoc)
	 * @see com.jxc.dao.impl.roleEmployeeDAO#findById(java.lang.Integer)
	 */
	public abstract TbEmployeeRole findById(java.lang.Integer id);

	/* (non-Javadoc)
	 * @see com.jxc.dao.impl.roleEmployeeDAO#findByExample(com.jxc.entity.TbEmployeeRole)
	 */
	public abstract List findByExample(TbEmployeeRole instance);

	/* (non-Javadoc)
	 * @see com.jxc.dao.impl.roleEmployeeDAO#findByProperty(java.lang.String, java.lang.Object)
	 */
	public abstract List findByProperty(String propertyName, Object value);

	/* (non-Javadoc)
	 * @see com.jxc.dao.impl.roleEmployeeDAO#findAll()
	 */
	public abstract List findAll();

	/* (non-Javadoc)
	 * @see com.jxc.dao.impl.roleEmployeeDAO#merge(com.jxc.entity.TbEmployeeRole)
	 */
	public abstract TbEmployeeRole merge(TbEmployeeRole detachedInstance);

	/* (non-Javadoc)
	 * @see com.jxc.dao.impl.roleEmployeeDAO#attachDirty(com.jxc.entity.TbEmployeeRole)
	 */
	public abstract void attachDirty(TbEmployeeRole instance);

	/* (non-Javadoc)
	 * @see com.jxc.dao.impl.roleEmployeeDAO#attachClean(com.jxc.entity.TbEmployeeRole)
	 */
	public abstract void attachClean(TbEmployeeRole instance);
	public abstract List findByUserId(Object userID);

}